<?php if ($this->pageCount): ?>
<?php if(!is_array($this->requestParams)) $this->requestParams = array(); ?>
    
<div class="paginationControl">

<!-- Previous page link -->

<?php if (isset($this->previous)): ?>
    <?php $_urlOptions = array_merge($this->requestParams, array('page'=>$this->previous));?>
   <a href="<?php echo $this->url($_urlOptions); ?>">< 上一页</a> |

<?php else: ?>

   <span class="disabled">< 上一页</span> |

<?php endif; ?>

<!-- Numbered page links -->

<?php foreach ($this->pagesInRange as $page): ?>

	<?php if ($page != $this->current): ?>
	    <?php $_urlOptions = array_merge($this->requestParams, array('page'=>$page));?>
     <a href="<?php echo $this->url($_urlOptions); ?>"><?= $page; ?></a> |

  <?php else: ?>

    <?= $page; ?> |

  <?php endif; ?>

<?php endforeach; ?>

<!-- Next page link -->

<?php if (isset($this->next)): ?>
	<?php $_urlOptions = array_merge($this->requestParams, array('page'=>$this->next));?>
   <a href="<?php echo $this->url($_urlOptions); ?>">下一页 ></a>

<?php else: ?>

   <span class="disabled">下一页 ></span>

<?php endif; ?>

</div>

<?php endif; ?>